package com.jetwinner.webfast.module.bigapp.dao;

import com.jetwinner.webfast.kernel.dao.support.OrderBy;

import java.util.List;
import java.util.Map;

/**
 * @author xulixin
 */
public interface AppGroupMemberDao {

    void addMember(Map<String, Object> fields);

    int searchMembersCount(Map<String, Object> conditions);

    List<Map<String, Object>> searchMembers(Map<String, Object> conditions, OrderBy orderBy,
                                            int start, int limit);

    Map<String, Object> getMemberByGroupIdAndUserId(Integer groupId, Integer userId);
}
